//
// Created by two8g on 17-11-27.
//

#ifndef HOURLYCLASSIFICATION_H
#define HOURLYCLASSIFICATION_H
#include <map>
#include "PaymentClassification.h"

class TimeCard;
class HourlyClassification : public PaymentClassification {

public:
    HourlyClassification(double hourlyRate);

    double GetRate();

    void AddTimeCard(TimeCard* timeCard);
    TimeCard* GetTimeCard(long date);

private:
    double itsHourlyRate;
    std::map<long, TimeCard*> itsTimeCards;
};


#endif //HourlyClassification_H
